package com.jiangtour.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author Administrator
 * @Title: UserInfo
 * @ProjectName site
 * @Description: TODO
 * @date 2018/12/29/02919:58
 */
@Entity
@DynamicUpdate
@Data
public class UserInfo {
    @Id
    private String userId;

    private String userName;

    private  String address;

    private Integer buildId;

    private  String phone;
    /**
     * 归属
     */
    private  String ascription;

    /** 创建时间. */
    private Date createTime;

    /** 更新时间. */
    private Date updateTime;

}
